#ifndef _PM_TRIGGER_IMPL_HPP_
#define _PM_TRIGGER_IMPL_HPP_

#include "api/pm_trigger.hpp"

/*---------------------------------------------------------------------------*/

namespace ProjectManager {

/*---------------------------------------------------------------------------*/

class TriggerImpl
	:	public Trigger
{
/*---------------------------------------------------------------------------*/

public:

/*---------------------------------------------------------------------------*/

	TriggerImpl( const Repository& _repository, unsigned int _checkInterval );

	~TriggerImpl();

	const Repository& getRepository() const;

	unsigned int getCheckInterval() const;

	void setCheckInterval( unsigned int _checkInterval );

/*---------------------------------------------------------------------------*/

private:

/*---------------------------------------------------------------------------*/

	const Repository& m_repository;

	unsigned int m_checkInterval;

/*---------------------------------------------------------------------------*/

};

/*---------------------------------------------------------------------------*/

} // namespace ProjectManager

/*---------------------------------------------------------------------------*/

#endif // _PM_TRIGGER_IMPL_HPP_
